package com.itheima.sh.esdemo.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.itheima.sh.esdemo.pojo.Sku;
import org.apache.ibatis.annotations.Select;

import java.util.List;


/**
 * @Name: jsj
 * @Version: 1.0.0
 * @Date: 2020/11/23_21:42
 * @Description:
 */
public interface SkuMapper extends BaseMapper<Sku> {

    @Select("select id,name,price,num,image,create_time,category_id,category_name,brand_name from tb_sku")
    List<Sku> findAll();
}
